Average sentence length |
---|
16.1374 |
sentence length | percentage |
---|---|
3 | 0.3467 |
4 | 1.1633 |
5 | 2.2267 |
6 | 3.1467 |
7 | 4.2733 |
8 | 4.7300 |
9 | 4.9233 |
10 | 5.2400 |
11 | 5.8367 |
12 | 5.3900 |
13 | 5.5467 |
14 | 5.1433 |
15 | 5.0467 |
16 | 4.7667 |
17 | 4.4233 |
18 | 4.0733 |
19 | 3.9433 |
20 | 3.4933 |
21 | 3.4033 |
22 | 3.0700 |
23 | 2.6167 |
24 | 2.3433 |
25 | 2.0367 |
26 | 1.8800 |
27 | 1.7633 |
28 | 1.4500 |
29 | 1.4567 |
30 | 1.1033 |
31 | 1.0133 |
32 | 0.9500 |
33 | 0.7167 |
34 | 0.5400 |
35 | 0.4800 |
36 | 0.4033 |
37 | 0.2933 |
38 | 0.2667 |
39 | 0.1700 |
40 | 0.1200 |
41 | 0.0733 |
42 | 0.0433 |
43 | 0.0400 |
44 | 0.0267 |
45 | 0.0100 |
46 | 0.0100 |
47 | 0.0033 |
50 | 0.0033 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters